/*
* Copyright (C) 2020 ~ 2024 chaigec All Rights Reserved.
*
* Author:     chaigec <chaigec@163.com>
* Maintainer: chaigec <chaigec@163.com>

 * Use of this source code is governed by MIT license that can be found in the
 * LICENSE file in the root of the source tree. All contributing project authors
 * may be found in the AUTHORS file in the root of the source tree.
*/

#ifndef COM_HTTP_SERVER_H
#define COM_HTTP_SERVER_H
#include "MkHttpApi/MkHttpApi.h"

class CComHttpServer : public CMkHttpApi
{
public:
    CComHttpServer(CMkEventPool* pEventPool, CMkTimer* pTimer);
    ~CComHttpServer();

    Uint32 OnRequestJsonParse(const MkHttpMethod& Method, const MkString& Path, const MkMapString& MapQuery, const Json::Value& JsonReq, const MkHttpResponseJsonCb& cb) override;
protected:
private:
};


#endif
